package com.mavenq.fly.business.mapper;

import com.mavenq.fly.business.entity.TempData;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface TempDataMapper {
    List<TempData> selectPendingData(int limit);
    int updateStatus(String id, String status);
    int markAsFailed(String id, String status, String errorMsg);
    int resetProcessingData();
    int cleanupCompletedData();
    int archiveData(String id);
    int deleteData(String id);
}